﻿using Entidad;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Servicios
{
    [ServiceContract]
    public interface IClienteServices
    {
        [OperationContract]
        IList<Cliente> FindAll();

        [OperationContract]
        int Add(Cliente newEntity);

        [OperationContract]
        IList<Cliente> FindByNombre(string nombre);

        [OperationContract]
        Cliente FindById(int id);

        [OperationContract]
        int Modify(Cliente cliente);

        [OperationContract]
        bool Remove(int id);
    } 
}
